<?php
session_start();
//Require Components
//require '../application/libs/aop/aop.php';
require_once('../application/models/front.php');
require_once('../application/models/icontroller.php');
require_once('../application/controllers/applicationController.php');
//require_once('../application/models/view.php');
require_once '../libs/Smarty.class.php';
require_once('Auth.php');

//Require Controllers
require_once('../application/controllers/index.php');
require_once('../application/controllers/authController.php');
//Initialize the FrontController
$front = FrontController::getInstance();
$front->route();
echo $front->getBody();
